Java_memcached version 1.6 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    java_memcached  most recent diff


    version 1.6

      View the most recent changes for the java_memcached port at: java_memcached.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for java_memcached.
      The raw portfile for java_memcached 1.6 is located here:
      http://java_memcached.darwinports.com/dports/java/java_memcached/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/java_memcached


      The java_memcached Portfile 57378 2009-09-10 08:38:23Z ryandesign macports.org $

      PortSystem 1.0

      Name: java_memcached
      Version: 1.6
      Category: java
      Platform: darwin
      Maintainers: nomaintainer
      Description: A high performance, distributed object caching system.

      Long Description: Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. This Port provides a native Java client.

      Homepage: http://www.whalin.com/memcached/

      depends_lib bin:java:kaffe port:jakarta-log4j
      depends_build bin:ant:apache-ant

      fetch.type svn
      svn.url http://www.whalin.com/memcached/svn/java_memcached/tags/release_${version}/ ${distname}
      svn.revision 774

      use_configure no

      build.cmd ant
      build.args -Dver=${version} -Dlog4j=1

      build {
      system "echo Running: ${build.cmd} ${build.args} jar"
      system "cd ${worksrcpath} && ${build.cmd} ${build.args} jar"
      file copy ${worksrcpath}/java_memcached-${version}/java_memcached-${version}.jar ${worksrcpath}/${name}.jar
      system "echo Running: ${build.cmd} ${build.args} javadoc"
      system "cd ${worksrcpath} && ${build.cmd} ${build.args} javadoc"
      file rename ${worksrcpath}/java_memcached-${version}/javadocs ${worksrcpath}/javadocs
      }

      destroot {
      set javadir ${destroot}${prefix}/share/java
      set docdir ${destroot}${prefix}/share/doc/${name}

      xinstall -d -m 755 ${javadir}
      xinstall -d -m 755 ${docdir}

      file copy ${worksrcpath}/${name}.jar ${javadir}/
      file copy ${worksrcpath}/javadocs ${docdir}/

      foreach f [glob ${worksrcpath}/doc/*] {
      file copy ${f} ${docdir}/
      }
      file delete -force ${docdir}/CVS
      }

      Variant: built_in_logger {
      depends_lib-delete port:jakarta-log4j
      build.args-delete -Dlog4j=1
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/java_memcached
      % sudo port install java_memcached
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching java_memcached
      ---> Verifying checksum for java_memcached
      ---> Extracting java_memcached
      ---> Configuring java_memcached
      ---> Building java_memcached with target all
      ---> Staging java_memcached into destroot
      ---> Installing java_memcached
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using java_memcached with these commands:
      %  man java_memcached
      % apropos java_memcached
      % which java_memcached
      % locate java_memcached

     Where to find more information:

    Darwin Ports



    Lightbox this page.